Skip to content

Conversation

@alejoe91
Copy link
Member

Refactor based on #4314

@alejoe91 alejoe91 added the core Changes to core module label Jan 13, 2026
alejoe91 added a commit to alejoe91/spikeinterface that referenced this pull request Jan 13, 2026
spike_vector = sorting.to_spike_vector()
spike_vector_list = sorting.to_spike_vector(concatenated=False)
keep_mask = np.zeros(len(spike_vector), dtype=bool)
all_global_indices = spike_vector_to_indices(spike_vector_list, unit_ids=sorting.unit_ids, absolute_index=True)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this plus 249 use get_spike_vector_to_indices?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes!

SharedMemorySorting,
NpzFolderSorting,
NumpyFolderSorting,
generate_ground_truth_recording,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need this in testing sorting ?

@samuelgarcia
Copy link
Member

Et voilà!

@samuelgarcia samuelgarcia merged commit b19b022 into SpikeInterface:main Jan 16, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Changes to core module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants